package com.wuage.domain.model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 字典表(UacDictionary)表实体类
 *
 * @Author: makejava
 * @Date: 2021-09-27 17:00:43
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "uac_dictionary", autoResultMap = true)
public class UacDictionary {

    /**
     * 主键id
     **/
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 类别
     **/
    @TableField("classification")
    private String classification;

    /**
     * 属性值
     **/
    @TableField("target")
    private String target;

    /**
     * 创建时间
     **/
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     **/
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 属性值
     */
    @TableField("value")
    private String value;

    /**
     * 父级菜单Id
     */
    @TableField("parent_id")
    private Long parentId;

    /**
     * 是否删除
     **/
    @TableField("deleted")
    private Boolean deleted;

    /**
     * 用户id，如果有值代表该用户独有
     **/
    @TableField("account_id")
    private Long accountId;

    /**
     * 租户id
     **/
    @TableField("tenant_id")
    private Long tenantId;

    /**
     * 租户名字
     **/
    @TableField("tenant_name")
    private String tenantName;

}